package sample.stormax.pres.news;

import android.app.Application;

import java.util.HashMap;

import sample.stormax.pres.news.fragments.FavouriteFragment;
import sample.stormax.pres.news.utils.sqlite.FavouriteSQLiteImpl;
import sample.stormax.pres.news.utils.sqlite.ISQLiteOperation;

/**
 * Created by StormAX on 2018/7/2 9:20.
 * Mail yuanmenglong97@qq.com
 */

public class MyApplication extends Application {
    //news type constants
    public final String TOP = "top";
    public final String SOCIAL = "shehui";
    public final String NATIONAL = "guonei";
    public final String INTERNATIONAL = "guoji";
    public final String ENTERTAINMENT = "yule";
    public final String SPORT = "tiyu";
    public final String MILITARY = "junshi";
    public final String TECHNOLOGY = "keji";
    public final String ECONOMY = "caijing";
    public final String FASHION = "shishang";

    public HashMap<String,String> typesTable = new HashMap<>();


    public MyApplication() {
        typesTable.put("热点",TOP);
        typesTable.put("社会",SOCIAL);
        typesTable.put("国内",NATIONAL);
        typesTable.put("国际",INTERNATIONAL);
        typesTable.put("娱乐",ENTERTAINMENT);
        typesTable.put("体育",SPORT);
        typesTable.put("军事",MILITARY);
        typesTable.put("科技",TECHNOLOGY);
        typesTable.put("财经",ECONOMY);
        typesTable.put("时尚",FASHION);

    }
}
